package com.ai.service.made;

import com.ai.common.CommonResponse;
import com.ai.entity.cameraFunctions.CameraFunctionID;
import com.ai.entity.cameraFunctions.regions.RegionsBO;
import com.ai.entity.cameraFunctions.regions.RegionsPO;
import com.ai.entity.made.camera.SwithCameraFunctionRegionsAlgorithmBO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Mr.Chen
 * @since 2020-08-14
 */
public interface RegionsService extends IService<RegionsPO> {

    List<SwithCameraFunctionRegionsAlgorithmBO> getSpots(int cameraFunctionsId);

    CommonResponse regionsList(CameraFunctionID cameraFunctionID);

    CommonResponse binding(RegionsBO regionsBO);

    CommonResponse unbound(RegionsBO regionsBO);

    CommonResponse add(RegionsBO regionsBO);


}
